package com.gopay.remote.fundcps.model;

import com.gopay.common.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 主订单表，基金用
 * @author <a href="mailto:yhwpeng@126.com">wangdong</a>
 * @date 2017-06-16 16:12:16
 */
public class GenMainOrder extends BaseEntity{
    private static final long serialVersionUID = -7983601899178778166L;
    private String gopayOrderId;

    private Integer transDtlSq;

    private String gopayIntTxnCd;

    private String merId;

    private String merOrderId;

    private Date merTxnTm;

    private String gatewaySource;

    private String gatewayChannel;

    private String orderType;

    private String payChannel;

    private Date gopayTxnTm;

    private String relevanceGopayOrderId;

    private BigDecimal totalOrderAmt;

    private BigDecimal totalOrderFeeAmt;

    private BigDecimal orderDealAmt;

    private BigDecimal orderRealFeeAmt;

    private String orderFeePayer;

    private String curType;

    private String mainRecvAcct;

    private String mainRecvAcctProdCode;

    private String mainRecvAcctProdName;

    private String mainRecvCustId;

    private String payAcct;

    private String mainPayAcctProdCode;

    private String mainPayAcctProdName;

    private String payCustId;

    private String outStlmId;

    private String outPayAcct;

    private Date tranFinishTime;

    private Date orderStlmTime;

    private Date createdTs;

    private Date lastUpdTs;

    private String lastUpdTrancode;

    private Integer version;

    private String remark1;

    private String remark2;

    private String accountingPoint;

    private BigDecimal merTxnAmt;

    private String processCode;

    private Integer txnStaCd;

    private Integer reversalFlag = 100;

    private String userId;

    private String childTranType;

    private BigDecimal merCommAmt;

    private String merCommPayer;

   // private String payType;

    private String errCode;

    private BigDecimal settleAmt;

    private String remoteIp;

    private String errMsg;

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId == null ? null : gopayOrderId.trim();
    }

    public Integer getTransDtlSq() {
        return transDtlSq;
    }

    public void setTransDtlSq(Integer transDtlSq) {
        this.transDtlSq = transDtlSq;
    }

    public String getGopayIntTxnCd() {
        return gopayIntTxnCd;
    }

    public void setGopayIntTxnCd(String gopayIntTxnCd) {
        this.gopayIntTxnCd = gopayIntTxnCd == null ? null : gopayIntTxnCd.trim();
    }

    public String getMerId() {
        return merId;
    }

    public void setMerId(String merId) {
        this.merId = merId == null ? null : merId.trim();
    }

    public String getMerOrderId() {
        return merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId == null ? null : merOrderId.trim();
    }

    public Date getMerTxnTm() {
        return merTxnTm;
    }

    public void setMerTxnTm(Date merTxnTm) {
        this.merTxnTm = merTxnTm;
    }

    public String getGatewaySource() {
        return gatewaySource;
    }

    public void setGatewaySource(String gatewaySource) {
        this.gatewaySource = gatewaySource == null ? null : gatewaySource.trim();
    }

    public String getGatewayChannel() {
        return gatewayChannel;
    }

    public void setGatewayChannel(String gatewayChannel) {
        this.gatewayChannel = gatewayChannel == null ? null : gatewayChannel.trim();
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType == null ? null : orderType.trim();
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel == null ? null : payChannel.trim();
    }

    public Date getGopayTxnTm() {
        return gopayTxnTm;
    }

    public void setGopayTxnTm(Date gopayTxnTm) {
        this.gopayTxnTm = gopayTxnTm;
    }

    public String getRelevanceGopayOrderId() {
        return relevanceGopayOrderId;
    }

    public void setRelevanceGopayOrderId(String relevanceGopayOrderId) {
        this.relevanceGopayOrderId = relevanceGopayOrderId == null ? null : relevanceGopayOrderId.trim();
    }

    public BigDecimal getTotalOrderAmt() {
        return totalOrderAmt;
    }

    public void setTotalOrderAmt(BigDecimal totalOrderAmt) {
        this.totalOrderAmt = totalOrderAmt;
    }

    public BigDecimal getTotalOrderFeeAmt() {
        return totalOrderFeeAmt;
    }

    public void setTotalOrderFeeAmt(BigDecimal totalOrderFeeAmt) {
        this.totalOrderFeeAmt = totalOrderFeeAmt;
    }

    public BigDecimal getOrderDealAmt() {
        return orderDealAmt;
    }

    public void setOrderDealAmt(BigDecimal orderDealAmt) {
        this.orderDealAmt = orderDealAmt;
    }

    public BigDecimal getOrderRealFeeAmt() {
        return orderRealFeeAmt;
    }

    public void setOrderRealFeeAmt(BigDecimal orderRealFeeAmt) {
        this.orderRealFeeAmt = orderRealFeeAmt;
    }

    public String getOrderFeePayer() {
        return orderFeePayer;
    }

    public void setOrderFeePayer(String orderFeePayer) {
        this.orderFeePayer = orderFeePayer == null ? null : orderFeePayer.trim();
    }

    public String getCurType() {
        return curType;
    }

    public void setCurType(String curType) {
        this.curType = curType == null ? null : curType.trim();
    }

    public String getMainRecvAcct() {
        return mainRecvAcct;
    }

    public void setMainRecvAcct(String mainRecvAcct) {
        this.mainRecvAcct = mainRecvAcct == null ? null : mainRecvAcct.trim();
    }

    public String getMainRecvAcctProdCode() {
        return mainRecvAcctProdCode;
    }

    public void setMainRecvAcctProdCode(String mainRecvAcctProdCode) {
        this.mainRecvAcctProdCode = mainRecvAcctProdCode == null ? null : mainRecvAcctProdCode.trim();
    }

    public String getMainRecvAcctProdName() {
        return mainRecvAcctProdName;
    }

    public void setMainRecvAcctProdName(String mainRecvAcctProdName) {
        this.mainRecvAcctProdName = mainRecvAcctProdName == null ? null : mainRecvAcctProdName.trim();
    }

    public String getMainRecvCustId() {
        return mainRecvCustId;
    }

    public void setMainRecvCustId(String mainRecvCustId) {
        this.mainRecvCustId = mainRecvCustId == null ? null : mainRecvCustId.trim();
    }

    public String getPayAcct() {
        return payAcct;
    }

    public void setPayAcct(String payAcct) {
        this.payAcct = payAcct == null ? null : payAcct.trim();
    }

    public String getMainPayAcctProdCode() {
        return mainPayAcctProdCode;
    }

    public void setMainPayAcctProdCode(String mainPayAcctProdCode) {
        this.mainPayAcctProdCode = mainPayAcctProdCode == null ? null : mainPayAcctProdCode.trim();
    }

    public String getMainPayAcctProdName() {
        return mainPayAcctProdName;
    }

    public void setMainPayAcctProdName(String mainPayAcctProdName) {
        this.mainPayAcctProdName = mainPayAcctProdName == null ? null : mainPayAcctProdName.trim();
    }

    public String getPayCustId() {
        return payCustId;
    }

    public void setPayCustId(String payCustId) {
        this.payCustId = payCustId == null ? null : payCustId.trim();
    }

    public String getOutStlmId() {
        return outStlmId;
    }

    public void setOutStlmId(String outStlmId) {
        this.outStlmId = outStlmId == null ? null : outStlmId.trim();
    }

    public String getOutPayAcct() {
        return outPayAcct;
    }

    public void setOutPayAcct(String outPayAcct) {
        this.outPayAcct = outPayAcct == null ? null : outPayAcct.trim();
    }

    public Date getTranFinishTime() {
        return tranFinishTime;
    }

    public void setTranFinishTime(Date tranFinishTime) {
        this.tranFinishTime = tranFinishTime;
    }

    public Date getOrderStlmTime() {
        return orderStlmTime;
    }

    public void setOrderStlmTime(Date orderStlmTime) {
        this.orderStlmTime = orderStlmTime;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public String getLastUpdTrancode() {
        return lastUpdTrancode;
    }

    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode == null ? null : lastUpdTrancode.trim();
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1 == null ? null : remark1.trim();
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2 == null ? null : remark2.trim();
    }

    public String getAccountingPoint() {
        return accountingPoint;
    }

    public void setAccountingPoint(String accountingPoint) {
        this.accountingPoint = accountingPoint == null ? null : accountingPoint.trim();
    }

    public BigDecimal getMerTxnAmt() {
        return merTxnAmt;
    }

    public void setMerTxnAmt(BigDecimal merTxnAmt) {
        this.merTxnAmt = merTxnAmt;
    }

    public String getProcessCode() {
        return processCode;
    }

    public void setProcessCode(String processCode) {
        this.processCode = processCode == null ? null : processCode.trim();
    }

    public Integer getTxnStaCd() {
        return txnStaCd;
    }

    public void setTxnStaCd(Integer txnStaCd) {
        this.txnStaCd = txnStaCd;
    }

    public Integer getReversalFlag() {
        return reversalFlag;
    }

    public void setReversalFlag(Integer reversalFlag) {
        this.reversalFlag = reversalFlag;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getChildTranType() {
        return childTranType;
    }

    public void setChildTranType(String childTranType) {
        this.childTranType = childTranType == null ? null : childTranType.trim();
    }

    public BigDecimal getMerCommAmt() {
        return merCommAmt;
    }

    public void setMerCommAmt(BigDecimal merCommAmt) {
        this.merCommAmt = merCommAmt;
    }

    public String getMerCommPayer() {
        return merCommPayer;
    }

    public void setMerCommPayer(String merCommPayer) {
        this.merCommPayer = merCommPayer == null ? null : merCommPayer.trim();
    }

    /*public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType == null ? null : payType.trim();
    }
*/
    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode == null ? null : errCode.trim();
    }

    public BigDecimal getSettleAmt() {
        return settleAmt;
    }

    public void setSettleAmt(BigDecimal settleAmt) {
        this.settleAmt = settleAmt;
    }

    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String remoteIp) {
        this.remoteIp = remoteIp == null ? null : remoteIp.trim();
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg == null ? null : errMsg.trim();
    }
}